package com.cb;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@EnableScheduling //同步
@EnableAsync //异步
public class ScheduledApp {

	public static void main(String[] args) {
		SpringApplication.run(ScheduledApp.class, args);
	}
	
}